<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>jQuery使用</title>
		
<script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js">

</script>
<script>
	function showImg(){
		$("#myimage").show();//相当于document.getElementBuId("myImg")
		
	}
	function hideImg(){
		$("#myimage").hide();//相当于document.getElementBuId("myImg")
		
	}

</script>
	</head>
	<body>
		<img id="myimage" src="img/c.png" />
		<br>
		<button onclick="showImg()">显示图片</button>
		<button onclick="hideImg()">隐藏图片</button>
		
		
	</body>
</html>
